﻿#ifndef _MODEL_VO_H_
#define _MODEL_VO_H_

#include "oatpp/core/Types.hpp"
#include "oatpp/core/macro/codegen.hpp"

#include OATPP_CODEGEN_BEGIN(DTO)

class ModelVo : public oatpp::DTO {
	DTO_INIT(ModelVo, DTO)
	DTO_FIELD(String, id, "id");
	DTO_FIELD(String, name, "name");
	DTO_FIELD(String, description, "description");
	DTO_FIELD(String, path, "path");
	DTO_FIELD(String, cls, "cls");
	DTO_FIELD(String, normal, "normal");
	DTO_FIELD(String, alarm, "alarm");
	DTO_FIELD(Int32, width, "width");
	DTO_FIELD(Int32, height, "height");
	DTO_FIELD(Int32, enabled, "enabled");
	DTO_FIELD(String, createTime, "createTime");
};

#include OATPP_CODEGEN_END(DTO)

#endif